package org.example.controller;

import org.example.service.IGoodBrandService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/good-brand")
public class GoodBrandController {
    @Resource
    private IGoodBrandService goodBrandService;
    @GetMapping
    public Result get(){
        return  Result.buildSuccess(goodBrandService.getAll());

    }


}
